package com.lmabbe.common.datasources.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author lmabbe
 */
@Mapper
public interface InitOrgMapper {

    /**
     * 初始化部门
     */
    @Insert("INSERT INTO sys_org (org_id, label, parent_id, tree_path) VALUES (1, '总部', NULL, '[1]')")
    void initOrg();
}
